/*
============================================================================
 Name        : fCommand.h
 Author      :
 Version     :
 Copyright   : Your copyright notice
 Description : fCommand declaration
============================================================================
*/

#ifndef __fCOMMAND_H__
#define __fCOMMAND_H__

#include <e32std.h>
#include "YuebaoBuffer.h"

#define MAX_COMMAND         16
#define MAX_COMMAND_LINE	32
class fCommand
{
public:
	fCommand();
	~fCommand();
public:
	void LoadCommand( const TDesC& aCommand, const TDesC& aCommandLine );
    inline const TDesC& Command() const;
    inline const TDesC& CommandLine() const;
public:

private:
	YuebaoBuffer<MAX_COMMAND> iCommand;
	YuebaoBuffer<MAX_COMMAND_LINE>	iCommandLine;
};

inline const TDesC& fCommand::Command() const
{
    return iCommand();
}
inline const TDesC& fCommand::CommandLine() const
{
    return iCommandLine();
}
#endif // __fCOMMAND_H__
